<docs>
  ## 返回按钮组件
</docs>
<template>
<ul>
  <li class="return" @click="prev()">
    <img src="../../common/images/return.png" alt="">
  </li>
</ul>
</template>
<script>
export default {
  name: 'prevBtn',
  methods: {
    prev(){
      this.$emit('back');
    }
  }
};
</script>
<style scoped lang="scss">
ul {
  position: fixed;
  z-index: 100;
  right: 10px;
  bottom: 250px;
  li {
    list-style:none;
    width: 90px;
    height: 90px;
    border-radius: 45px;
    text-align: center;
    float: left;
    background-color: #246fde;
    img {
      width: 100%;
      height: 100%;
      border-radius: 45px;
    }
  }
}
</style>
